﻿namespace TheCodeWerks.Advertising
{
	using System.Collections.Generic;
	using System.Runtime.Serialization;

	[DataContract]
	public class AdPlacement
	{
		private const int DefaultRotationInterval = 60; // seconds		

		[DataMember]
		public int Interval = DefaultRotationInterval;

		[DataMember]
		public List<AdUnit> Units = new List<AdUnit>();
	}
}
